package test1;

public class Swap {
	void swap(int x, int y){
		int t;
		t=x;
		x=y;
		y=t;
	}
	void swap(int[] arr){
		int t;
		t=arr[0];
		arr[0]=arr[1];
		arr[1]=t;
	}
	void swap(MyValue value1,MyValue value2){
		MyValue n=new MyValue();
		n.v=value1.v;
		value1.v=value2.v;
		value2.v=n.v;
		
		
	}
}
